TResult
IdeaBlade DevForce 2010 Help Reference
OfType<TResult> Method
See Also  Send Feedback
IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > EntityQuery<T> Class : OfType<TResult> Method



Filters the elements of an IEntityQuery based on a specified type.

Syntax

Visual Basic (Declaration) 
Public Function OfType(Of TResult)() As EntityQuery(Of TResult)
Visual Basic (Usage)Copy Code
Dim instance As EntityQuery(Of T)
Dim value As EntityQuery(Of TResult)
 
value = instance.OfType(Of TResult)()
C# 
public EntityQuery<TResult> OfType<TResult>()
C++/CLI 
public:
EntityQuery<TResult^>^ OfTypegeneric<typename TResult>
(); 

Type Parameters

TResult

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.